package de.fhaugsburg.games.boardgames.scrabble.scrabbleboard;

public enum SquareMultiplier {

	SIMPLE (1, 1, " . ", ""),
	
	LETTER_DOUBLE (2, 1, ".. ", "doppelter Buchstabenwert"),
	LETTER_TRIPLE (3, 1, "...", "dreifacher Buchstabenwert"),
		
	WORD_DOUBLE (1, 2, "__ ", "doppelter Wortwert"),
	WORD_TRIPLE (1, 3, "___", "dreifacher Wortwert");
	
	
	private final int letterMultiply;
	private final int wordMultiply;
	private final String symbol;
	private final String description;
	
	
	/**
	 * constructor for different square modifiers
	 * @param letterM
	 * @param wordM
	 * @param symbolS
	 * @param descriptionS
	 */
	private SquareMultiplier(int letterM, int wordM, String symbolS, String descriptionS) {
		this.letterMultiply = letterM;
		this.wordMultiply = wordM;
		this.symbol = symbolS;
		this.description = descriptionS;
	}


	
	/**
	 * get multiplier for current letter
	 * @return
	 */
	public int getLetterMultiplier() {
		return letterMultiply;
	}


	/**
	 * get multiplier for current word
	 * @return
	 */
	public int getWordMultiplier() {
		return wordMultiply;
	}


	/**
	 * the symbol used in board representation
	 * @return
	 */
	public String getSymbol() {
		return symbol;
	}


	/**
	 * description for this field
	 * @return
	 */
	public String getDescription() {
		return description;
	}
	

	
	
}
